<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui">
<f:view>
	<ui:composition template="template.xhtml">
		<ui:define name="content">
			<h:form>
			<p:dataTable id="listaTienda" var="lista" value="#{listaTienda.lista}" paginator="true" rows="10">
				<f:facet name="header"><h:outputText value="Tiendas"/></f:facet>
				<p:column>
					<f:facet name="header"><h:outputText value="Nombre"/></f:facet>
					<h:commandLink value="#{lista.nombre}" action="#{listaTienda.editar}">
						<f:param name="objeto" value="#{lista}"/>
					</h:commandLink>
				</p:column>
				<f:facet name="footer">
				</f:facet>
			</p:dataTable>
			</h:form>
		</ui:define>
	</ui:composition>
</f:view>
</html>